package com.itheima.Service;

import com.itheima.entity.Emp;
import com.itheima.entity.EmpParam;
import com.itheima.entity.Login;
import com.itheima.entity.PageBean;

import java.util.List;

public interface EmpService {
    PageBean page(EmpParam empParam);

    void addEmp(Emp emp) throws Exception;

    void delete(List<Integer> ids);

    Emp getByid(Integer id);

    void update(Emp emp);

    List <Emp> getlist();

    Login login(Emp emp);
}
